import request from "@/utils/request";

const GENERATOR_BASE_URL = "/client";

const NotificationApI = {
  /** 获取通知消息列表 */
  getNotificationList(data: any) {
    return request<any, any>({
      url: `${GENERATOR_BASE_URL}/notification/list`,
      method: "get",
      params:data,
    });
  },

  /** 获取通知消息列表 */
  getNotificationDetail(data: any) {
    return request<any, any>({
      url: `${GENERATOR_BASE_URL}/notification/detail`,
      method: "get",
      params:data
    });
  },

};

export default NotificationApI;


